package com.neusoft.service;

import com.neusoft.model.Admin;

import java.util.List;

/**
 * @Author: duan
 * @Date: Create in 19:22 2020/10/19
 */
public interface AdminService {
    boolean insert(Admin bean);
    boolean update(Admin bean);
    boolean delete(int id);
    Admin getById(Integer id);
    Admin getByUsernameAndPassword(String username, String password);
    List<Admin> getList();
    List<Admin> getListByUsername(String username);
}
